home *** CD-ROM | disk | FTP | other *** search
/ PC Format (South-Africa) 2001 June / PCFJune.iso / mweb / 32Bit / English / Main.dxr / 00001_Movie - All.ls next >
Encoding:
Text File  |  2001-04-23  |  756 b   |  46 lines

  1. global gMixManager, gVoiceManager, gOptionsManager, gVoiceSwitch
  2.  
  3. on prepareMovie
  4.   gOptionsManager = new(script("objOptionsManager"))
  5.   gOptionsManager.init("Popup01")
  6. end
  7.  
  8. on startMovie
  9.   if gVoiceSwitch then
  10.     gVoiceManager.play(1)
  11.   end if
  12.   gVoiceSwitch = 1
  13. end
  14.  
  15. on stopMovie
  16.   delete gOptionsManager
  17.   gOptionsManager = VOID
  18. end
  19.  
  20. on soundstopallsounds
  21.   if soundBusy(1) then
  22.     sound stop 1
  23.   end if
  24.   if soundBusy(2) then
  25.     sound stop 2
  26.   end if
  27.   if soundBusy(3) then
  28.     sound stop 3
  29.   end if
  30.   if soundBusy(4) then
  31.     sound stop 4
  32.   end if
  33.   if soundBusy(5) then
  34.     sound stop 5
  35.   end if
  36.   if soundBusy(6) then
  37.     sound stop 6
  38.   end if
  39.   if soundBusy(7) then
  40.     sound stop 7
  41.   end if
  42.   if soundBusy(8) then
  43.     sound stop 8
  44.   end if
  45. end
  46.